package com.jquest.misc;

import com.jquest.data.Sprite;

import java.util.ArrayList;

import org.newdawn.slick.Image;

/**
 * Created by IntelliJ IDEA.
 * User: Johan
 * Date: 2009-dec-11
 * Time: 21:44:16
 * To change this template use File | Settings | File Templates.
 */
public class SpriteSet {

    private static ArrayList<Image> sprites;

    public static void add(Image sprite) {
        sprites.add(sprite);
    }

    public static Image get(int index) {
        return sprites.get(index);
    }

    static {
        sprites = new ArrayList<Image>();
    }

}
